import asyncio
import aiohttp


async def fetch(session, url):
    async with session.get(url) as response:
        response = await response.json()
        print(response)

async def main():
    async with aiohttp.ClientSession() as session:
        urls = [f'https://api.web.360kan.com/v1/rank?cat={i}' for i in range(1, 7)]
        tasks = [fetch(session, url) for url in urls]
        await asyncio.gather(*tasks)

asyncio.run(main())

